import request from '@/utils/request'

// 新增协议
export function addAgreement(data = {}) {
  return request.post('/agreement/add', data)
}

// 协议详情
export function getAgreementDetail(data = {}) {
  return request.post('/agreement/detail', data)
}

// 修改协议状态
export function editAgreementStatus(data = {}) {
  return request.post('/agreement/editStatus', data)
}

// 获取协议列表
export function getAgreementList(data = {}) {
  return request.post('/agreement/page', data)
}

